package com.laviedesfons.mavenjhmtascplugin;
import com.laviedesfons.jhmtasc.Logger;
import org.apache.maven.plugin.logging.Log;

/**
 *
 * @author Romano
 */
public class MavenLogger implements Logger{

    private Log logger;

    public MavenLogger(Log log){
        this.logger = log;
    }

    @Override
    public void error(String string) {
       this.logger.error(string);
    }

    @Override
    public void error(String string, Exception ex) {
        this.error(string,ex);
    }

    @Override
    public void info(String string) {
        this.info(string);
    }

}
